import request from '@/utils/request'

// 个人门户
export function getEventPageList(data = {}) {
  return request({
    url: '/jiaxing-saas/event/page',
    method: 'get',
    params: data
  })
}

// 获取左侧统计
export function getPageCount(data = {}) {
  return request({
    url: '/jiaxing-saas/event/page/count',
    method: 'get',
    params: data
  })
}

// 首页右侧 整改单统计【各部门】
export function getLetterCount(data = {}) {
  return request({
    url: '/jiaxing-saas/notification-letter/count',
    method: 'get',
    params: data
  })
}

// 首页右侧 人员到岗情况【高层领导】
export function getCountByDay(data = {}) {
  return request({
    url: '/workbench/attend-record/tenantCountByDay',
    method: 'get',
    params: data
  })
}
// 首页右侧 质量检查【高层领导】
export function getStatistics(data = {}) {
  return request({
    url: '/jiaxing-saas/notification-letter/statistics',
    method: 'get',
    params: data
  })
}
// 首页右侧 按区统计【人事】
export function getGroupZoneCode(data = {}) {
  return request({
    url: '/jiaxing-saas/checking-record/groupZoneCode',
    method: 'get',
    params: data
  })
}
